package com.syezon.wifikey.ad;

import com.hodanet.appadvplatclient.ad.AdInfo;

import java.util.HashMap;
import java.util.Map;

public class SimuClickAdInfo {


    private long urlId;
    private String url;
    private AdInfo adInfo;
    private String cid;

    private Map<Integer, SimuStep> simuSteps = new HashMap<>();

    public static class SimuStep {

        public static final int OPTYPE_OPEN_PRE_FIRST_JUMP = 6;
        public static final int OPTYPE_OPEN_URL = 1;
        public static final int OPTYPE_FIRST_JUMP = 2;
        public static final int OPTYPE_FIRST_SLIDE = 3;
        public static final int OPTYPE_SENCODE_JUMP = 4;
        public static final int OPTYPE_SENCODE_SLIDE = 5;

        private long delayTime;
        private String opJsCode;
        private int opType;

        public long getDelayTime() {
            return delayTime;
        }

        public void setDelayTime(long delayTime) {
            this.delayTime = delayTime;
        }

        public String getOpJsCode() {
            return opJsCode;
        }

        public void setOpJsCode(String opJsCode) {
            this.opJsCode = opJsCode;
        }

        public int getOpType() {
            return opType;
        }

        public void setOpType(int opType) {
            this.opType = opType;
        }
    }

    public long getUrlId() {
        return urlId;
    }

    public void setUrlId(long urlId) {
        this.urlId = urlId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public AdInfo getAdInfo() {
        return adInfo;
    }

    public void setAdInfo(AdInfo adInfo) {
        this.adInfo = adInfo;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public Map<Integer, SimuStep> getSimuSteps() {
        return simuSteps;
    }

    public void setSimuSteps(Map<Integer, SimuStep> simuSteps) {
        this.simuSteps = simuSteps;
    }
}
